package com.hanter.downloader;

import androidx.annotation.NonNull;

import com.hanter.downloader.exception.ResponseException;

public interface RequestListener {

    void onStart();

    void onProgress(long progress, long max);

    void onResponse(String path);

    void onError(@NonNull ResponseException e);

    void onCancel();

    void onFinish();

}
